package springboot.bigdata.demo.service.impl;

import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import springboot.bigdata.demo.dao.UserDao;
import springboot.bigdata.demo.model.User;
import springboot.bigdata.demo.service.UserService;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public PageInfo<User> getUserList(User userPar) {

        PageInfo<User> userList = userDao.getUserList(userPar);

        return userList;
    }
}
